package com.ws.ssmzongjie3.config;

import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;
import org.springframework.context.annotation.PropertySource;
import org.springframework.transaction.annotation.EnableTransactionManagement;
@Configuration
@ComponentScan({"com.ws.ssmzongjie3.service,com.ws.ssmzongjie3.util"})
@PropertySource({"classpath:jdbc.properties","classpath:file.properties"})
@Import({JdbcConfig.class,MybatisConfig.class})
@EnableTransactionManagement//开启Spring事务管理
public class SpringConfig {

}